Cytosim  PI
Cytoskeleton Simulator
PointExact Class Reference

Public Member Functions

void clear ()
 Reset the member variables (mPS=0)
 
 PointExact ()
 Default constructor reset variables.
 
 PointExact (const Mecable *ps, unsigned int p)
 Build to refer to point p in ps.
 
void set (const Mecable *ps, unsigned int p)
 Set to refer to point p in ps.
 
Mecable const * mecable () const
 Constant pointer to the Mecable.
 
bool valid () const
 true if the pointer seems to be valid.
 
unsigned int point () const
 Index of point in object.
 
Vector pos () const
 Position of the point-of-interest in space.
 
Matrix::index_type matIndex () const
 Index of the point-of-interest in the big matrix.
 
void write (OutputWrapper &) const
 Write to file.
 
void read (InputWrapper &, Simul &)
 Read from file. More...
 
bool overlapping (const PointExact &) const
 test if this shares one point with the argument
 
bool neighbors (const PointExact &) const
 test if this is one point away from the argument
 

Friends

class PointInterpolated
 
std::ostream & operator<< (std::ostream &, PointExact const &)
 print for debug purpose
 

Member Function Documentation

void read ( InputWrapper in,
Simul sim 
)
Todo:
: check that tag corresponds to a Mecable